Ext.define('passport.tabs.panel.Organization', {
    extend: 'Ext.tab.Panel',
    alias: 'widget.organizationTabPanel',
		id: 'organizationTabPanel',
		bodyBorder: false,
		border:0,
		
		getEmployeeTabItem: function() {
			this.tiEmployee = Ext.create('passport.tabs.item.Employee',{
					
				});
			return this.tiEmployee;
		},
		
		getDepartmentTabItem: function() {
			this.tiDepartment = Ext.create('passport.tabs.item.Department',{
					
				});
			return this.tiDepartment;
		},
		
		initComponent: function() {
				Ext.apply(this, {
          items: [this.getEmployeeTabItem(),this.getDepartmentTabItem()]
      	});
		   this.callParent(arguments);
		}
});